<form name="form1" method="post" id="form1" action="<{$action}>">
  <div class="box">
    <div class="box2">
      <table border="0" cellpadding="0" cellspacing="0">
        <tr>
          <th> 分类名称：</th>
          <td><input name="name" type="text"
                                style="width: 160px;" value="<{if $res}><{$res.datil}><{/if}>" /></td>
         </tr>
        <tr>
          <th> 显示顺序：</th>
          <td><input name="showorder" type="text"
                                style="width: 160px;" value="<{if $res}><{$res.sid}><{else}>0<{/if}>"  /></td>
         </tr>                                   
      </table>
    </div>
  </div>
  <p style="padding: 15px; text-align: center;">
    <input type="submit" name="Button2" value="<{$button}>" 
                id="Button2" class="add" style="font-weight: bold; width: 70px;" />
    &nbsp;</p>
</form>
